#include <iostream>
using namespace std;

// 这里常考一道笔试题：sizeof(Base)是多少？
class Base
{
public:
    virtual void func(){}
private:
    int val;
};

int main() {
    Base b;
    cout << sizeof(b) << endl;
    return 0;
}

